<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>基于 layui 的评论模版</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="layui,美吖clube">
  <link rel="stylesheet" href="static/layui/css/layui.css">
  <link rel="stylesheet" href="css/style.css">
</head>
<body style="overflow:-Scroll;overflow-y:hidden" >

<div class="dis-header layui-bg-black">
  <div class="layui-container">
    <a class="dis-logo" href="/">
      <img src="img/logos.png" alt="layui">
    </a>
	<ul class="layui-nav dis-nav layui-hide-xs">
      <li class="layui-nav-item layui-this" style="margin-top: 20px;">
        <a href="https://www.meyaya.club" style="font-size: 30px !important;"><i class="iconfont icon-jiaoliu"></i>美吖吖俱乐部</a>
      </li>
    </ul>
  </div>
</div>


<div class="layui-container main">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md8 content detail">
      <div class="dis-panel detail-box" id="disReply">
        <fieldset class="layui-elem-field layui-field-title" style="text-align: center;">
          <legend>回帖/评论</legend>
        </fieldset>

        <ul class="review" id="review">
          <li class="review-daan">
            <div class="detail-about detail-about-reply">
              <a class="dis-avatar" href="">
                <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt=" ">
              </a>
              <div class="dis-detail-user">
                <a href="" class="dis-link">
                  <cite>meyaya</cite>
                  <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>
                  <i class="layui-badge dis-badge-vip">VIP3</i>              
                </a>
               <span style="color:#5FB878">(管理员)</span>
              </div>
              <div class="detail-hits">
                <span>2017-11-30</span>
              </div>
            </div>
            <div class="detail-body review-body photos">
              <p>这是一条自己的评论</p>
            </div>
            <div class="review-reply"  data-id="111">
              <span class="review-zan zanok" onclick="zan(this)">
                <i class="iconfont icon-zan"></i>
                <em>66</em>
              </span>
              <span onclick="reply(this)">
                <i class="iconfont icon-svgmoban53"></i>
                回复
              </span>
              <div class="review-admin">
                <span onclick="zan(edit)">编辑</span>
              </div>
            </div>
          </li>
		  
		  <li data-id="222" class="review-daan">
		    <div class="detail-about detail-about-reply">
		      <a class="dis-avatar" href="">
		        <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt=" ">
		      </a>
		      <div class="dis-detail-user">
		        <a href="" class="dis-link">
		          <cite>meyaya</cite>
		          <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>
		          <i class="layui-badge dis-badge-vip">VIP3</i>              
		        </a>
		       <span style="color:#5FB878">(管理员)</span>
		      </div>
		      <div class="detail-hits">
		        <span>2017-11-30</span>
		      </div>
		    </div>
		    <div class="detail-body review-body photos">
		      <p>这是自己别人的评论</p>
		    </div>
		    <div class="review-reply"  data-id="111">
		      <span class="review-zan" onclick="zan(this)">
		        <i class="iconfont icon-zan"></i>
		        <em>26</em>
		      </span>
		      <span onclick="reply(this)">
		        <i class="iconfont icon-svgmoban53"></i>
		        回复
		      </span>
		    </div>
		  </li>
          <li class="dis-none">抢占沙发（无数据显示）</li>
        </ul>
        
        <div class="layui-form layui-form-pane">
            <div class="layui-form-item layui-form-text">
              <a name="comment"></a>
              <div class="layui-input-block">
                <textarea id="content" name="content" required lay-verify="required" placeholder="请输入内容"  class="layui-textarea dis-editor" style="height: 150px;"></textarea>
              </div>
            </div>
            <div class="layui-form-item">
              <button class="layui-btn" lay-filter="*" lay-submit onclick="subdis()">提交回复</button>
            </div>
        </div>
      </div>
    </div>
  </div>
</div>


<script src="static/layui/layui.all.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script>
layui.cache.user = {
  username: '游客'
  ,uid: -1
  ,avatar: 'img/avatar/0.jpg'
  ,experience: 83
};
layui.config({
  version: "3.0.0"
  ,base: 'js/mod/'
}).extend({
  fly: 'index'
}).use(['fly', 'face'], function(){
  var $ = layui.$
  ,fly = layui.fly;
});
</script>
<script src="js/discuss.js"></script>
</body>
</html>